from app import db
from datetime import datetime

class DictType(db.Model):
    __tablename__ = 'sys_dict_type'
    id = db.Column(db.String(36), primary_key=True)
    name = db.Column(db.String(64))
    create_time = db.Column(db.DATETIME, default=datetime.now)
    update_time = db.Column(db.DATETIME, default=datetime.now, onupdate=datetime.now)
    remark = db.Column(db.String(500))


